<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<link href="/resources/css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/resources/js/HuskyEZCreator.js" charset="utf-8"></script>
<head>
<base href="/resources/" />
<title>JavaScript Drag and Drop Tutorial</title>
<link href="css/main_new.css" type="text/css" rel="stylesheet">
</head>
<body>
	<div id="editmenu">
		<nav>
			<a href="addslide">슬라이드추가</a>&nbsp;&nbsp;<a href="">슬라이드삭제</a>&nbsp;&nbsp;<a
				href="">슬라이드 액션설정</a>
		</nav>
	</div>
	<div id=pageContainer>

		<%
			int i = 0;
		%>
		<c:forEach var="list" items="${preziList }">
		<button id='showReply'>내용편집</button>
			<div class="drag" id="slide<%=i++%>" >
				${list.content }
			</div>
			
		</c:forEach>
		
		<div class="drag" style="">Item 1 is &lt;div&gt;</div>
		<form action="sample.php" method="post">
		
		
	<p>
		<input type="button" onclick="pasteHTMLDemo()" value="본문에 HTML 삽입"></input>
		<input type="button" onclick="showHTML()" value="본문 HTML 보기"></input>
		<input type="button" onclick="_onSubmit(this)" value="서버에 전송"></input>
	</p>
	<textarea name="ir1" id="ir1" style="width:725px; height:300px; display:none;"><p>에디터에 기본으로 삽입할 글(수정 모드)이 없다면 이 값을 지정하지 않으시면 됩니다.</p></textarea>
</form>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">
</script>


<script>
var list = ${list.content }






</script>
	</div>
	<div id="canvas"></div>
	<pre id="debug">NON-draggable element clicked</pre>
	<input type="button" id="btnTest" onclick="fnAlert();" value="test"/>

	<script language="JavaScript" type="text/javascript" src="js/dragndrop.js"></script>

</body>
</html>